using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Web
{
    public class JsScriptHelper
    {
        private static JsScriptHelper instance;
        public static JsScriptHelper Instance
        {
            get
            {
                lock (typeof(JsScriptHelper))
                {
                    if (instance == null)
                        instance = new JsScriptHelper();
                    return instance;
                }
            }
        }

        public string ResponseToNewForm(string url)
        {
            return "<script>window.open(\"" + url + "\")</script>";
        }
    }
}
